//
//  MyConstant.h
//  Pods
//
//  Created by Xiaoka on 2021/8/13.
//

#ifndef MyConstant_h
#define MyConstant_h

const static NSString *AMAP_CHANNEL_NAME = @"com.xiaoka.flutter_plugin_gdmap";

#define RGBACOLOR(R, G, B, A) [UIColor colorWithRed:((R) / 255.0f) green:((G) / 255.0f) blue:((B) / 255.0f) alpha:A]
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

#endif /* MyConstant_h */
